package com.atguigu.spzx.model.vo.test;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.alibaba.excel.metadata.data.WriteCellData;
import lombok.Data;

@Data
public class ExcelTestData {

    @ExcelProperty(value = "姓名")
    private WriteCellData<String> username;
    @NumberFormat(value = "#.#")
    @ExcelProperty(value = "月薪")
    private Double salary;

    @ExcelProperty(value = "邮箱")
    private WriteCellData<String> email;
    @ExcelProperty(value = "个人首页")
    private WriteCellData<String> link;

}
